# CMake package configuration file for the plugin '@PROJECT_NAME@'

@PACKAGE_GUARD@
@PACKAGE_INIT@

set(CIMGPLUGIN_HAVE_JPEG @CIMGPLUGIN_HAVE_JPEG@)
set(CIMGPLUGIN_HAVE_TIFF @CIMGPLUGIN_HAVE_TIFF@)
set(CIMGPLUGIN_HAVE_PNG @CIMGPLUGIN_HAVE_PNG@)
set(CIMGPLUGIN_HAVE_ZLIB @CIMGPLUGIN_HAVE_ZLIB@)

find_package(Sofa.Helper QUIET REQUIRED)
find_package(Sofa.DefaultType QUIET REQUIRED)

set(CImg_INCLUDE_DIRS "@CImg_INCLUDE_DIRS@")
find_package(CImg QUIET REQUIRED)

if(CIMGPLUGIN_HAVE_JPEG)
    find_package(JPEG QUIET REQUIRED)
endif()
if(CIMGPLUGIN_HAVE_TIFF)
    find_package(TIFF QUIET REQUIRED)
endif()
if(CIMGPLUGIN_HAVE_PNG)
    find_package(PNG QUIET REQUIRED)
endif()
if(CIMGPLUGIN_HAVE_ZLIB)
    find_package(ZLIB QUIET REQUIRED)
endif()

if(NOT TARGET @PROJECT_NAME@)
    include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
endif()

check_required_components(@PROJECT_NAME@)
